package com.cfswt.tasksystem.pojo.vo;

import com.cfswt.tasksystem.pojo.entity.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class GanttTaskVO {
    private Integer id;
    private String categoryName;
    private Integer parentId;
    private String sn;
    private String processInstanceId;
    private Integer categoryId;
    private String title;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String releaseBy;
    private String reportBy;
    private String frequency;
    private String projectSn;
    private Integer reportComplete;
    private Integer reportCount;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date actualFinishingTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date planDate;
    private String statusName;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date delayApprovedDate;
    private List<ContentSummary> contentSummaries;
    private List<TaskMilestone> taskMilestones;
    private List<TaskAttachment> releaseAttachments; // 发布时附件
    private List<TaskAttachment> reportAttachments; // 汇报时附件
    private List<TaskAttachment> commentAttachments; // 评论时附件
    private List<TaskAttachment> completeAttachments; // 完成时附件
    private List<TaskCommentSummary> taskCommentSummaries;//不映射表
    private List<TaskCompleteSummary> taskCompleteSummaries;//不映射表
    private List<TaskPlanSummary> taskPlanSummaries;//不映射表
    private List<TaskCoordinateSummary> taskCoordinateSummaries;//不映射表
    private List<TaskHistoryDelayVO> taskHistoryDelayVOS;//不映射表
    private TaskCompleteApplyVO latestTaskCompleteApplyVO;//不映射表
    private TaskDelayVO latestTaskDelayApplyVO;//不映射表
}
